//
//  WaterMarkTool.h
//  ShareExtensionDemo
//
//  Created by Elon on 2019/1/13.
//  Copyright © 2019 demo. All rights reserved.
//

#import <UIKit/UIKit.h>

#define HORIZONTAL_SPACE 60//水平间距
#define VERTICAL_SPACE 50//竖直间距
#define CG_TRANSFORM_ROTATION (-M_PI_2 / 3)//旋转角度(正旋45度 || 反旋45度)
#define waterMark_alpha 0.23235
#define has_row_offset YES  // 每一行是否有偏移量


NS_ASSUME_NONNULL_BEGIN

@interface WaterMarkTool : NSObject

+ (void)recursiveScreeenShotHandleSize:(NSString *) path;
+ (void)recursiveAddWaterMark:(NSString *) path title:(NSString *)title;
+ (void)recursiveHandleSize:(NSString *) path width:(NSInteger ) toWidth;
+ (UIImage *)getWaterMarkImage: (UIImage *)originalImage andTitle: (NSString *)title andMarkFont: (UIFont *)markFont andMarkColor: (UIColor *)markColor;
+ (UIColor*)mostColor:(UIImage*)image;
@end

NS_ASSUME_NONNULL_END
